<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<!-- saved from url=(0043)http://202.116.174.108:8080/reader/preg.php -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>图书借阅系统</title>
<link type="text/css" rel="stylesheet"
	href="../resources/appointmentInfo/style.css">
<link type="text/css" rel="stylesheet"
	href="../resources/appointmentInfo/mylib.css">
<link type="text/css" rel="stylesheet"
	href="../resources/appointmentInfo/jquery-ui-1.8.13.custom.css">
<script type="text/javascript"
	src="../resources/appointmentInfo/jquery.1.7.1.min.js.下载"></script>
<script type="text/javascript"
	src="../resources/appointmentInfo/jquery-ui-1.8.13.custom.min.js.下载"></script>
<script type="text/javascript"
	src="../resources/appointmentInfo/highlighter.js.下载"></script>
</head>
<body>
	<div id="header_opac">
		<h1 class="header_opac_img">
			<div class="header_opac_logo">
				图书借阅系统<br>
				<p>Online Book Borrowing System</p>

			</div>
		</h1>
		<div class="header_right header_right_top">
			<p class="header_right_font"></p>
			<p style="margin-top: 60px;" class="header_right_font">
				<font color="blue">${user.name }</font> <strong><a
					href="../user/logout.action" style="color: #ff0000;">注销</a></strong>
			</p>
		</div>
	</div>
	<div id="menubar">
		<ul id="menu_top">
			<li><a href="toquery2.action" target="_self">书目检索</a></li>
			<li><a class="menu_top_on" style="color: #6C5B23;"
				href="../books/mylibrary.action" target="_self">我的图书馆</a></li>
			<div class="clear"></div>
		</ul>
	</div>
	<div id="submenu">
		<div class="clear"></div>
	</div>

	<div style="width: 1360px; height: 420px; margin: 0 5px 0 0"
		id="mainbox">
		<div id="container">
			<div id="navsidebar">
				<ul id="nav_mylib">
					<li><a href="../books/mylibrary.action">证件信息</a></li>
					<li><a href="../borrow/borrowing.action?id=${user.id }">当前借阅</a></li>
					<li><a
						href="../borrow/borrow_his_levelup.action?id=${user.id }">借阅历史</a></li>
					<li id="nav_mylibhome"><a
						href="appointmentInfo.action?id=${user.id}">预约信息</a></li>
					<li><a href="../bookshelf/query.action?id=${user.id }">我的书架</a></li>
				</ul>
			</div>

			<div id="mylib_content">
				<h2>预约信息</h2>
				<table width="100%" border="0" cellpadding="5" cellspacing="1"
					bgcolor="#CCCCCC" class="table_line">
					<tbody>
						<tr bgcolor="#d8d8d8" class="greytext">
							<td width="10%">索书号</td>
							<td width="25%">书名/作者</td>
							<td width="10%" align="center">预约日</td>
							<td width="10%" align="center">截止日期</td>
							<!-- <td width="10%" align="center">取消预约</td> -->
						</tr>
						<c:forEach items="${appointmentInfo}" var="i" varStatus="go">
							<tr bgcolor="#FFFFFF" class="whitetext">
								<input type="hidden" name="call_no"
									value="I247.5%2F663%2F8%2FV.2">
								<td>${i.callno}</td>
								<td><a style="color: rgb(0, 0, 255);"
									href="../books/bookitem.action?booksModel.callno=${i.callno}">${i.bookName}</a>/${i.author }著</td>

								<td align="center">${i.appointmentTime }</td>
								<td align="center">${i.deadline }</td>
								<td align="center">
									<!-- <div id="1"><input class="btn btn-success" type="button" value="取消" onclick="javascript:getInLib(&#39;0000573266&#39;,&#39;I247.5%2F663%2F8%2FV.2&#39;,&#39;1&#39;,&#39;SKK  &#39;);">
					</div> -->
									<span id="preg_1"></span>
								</td>
							</tr>
						</c:forEach>

					</tbody>
				</table>
			</div>
			<div class="clear"></div>

		</div>
		<script type="text/javascript">
<!--
	function getInLib(marc_no,call_no,num,loca){ 
		$.ajax({
   			  url: 'ajax_preg.php?call_no=' + call_no + '&marc_no=' + marc_no + '&loca=' + loca + '&time=' + new Date().getTime(),
   			  success: function(html){
   			     $("#preg_" + num).html(html);
   				 $("#"+ num).hide();
   			  }
    	});
	}
-->
</script>
	</div>
</body>
</html>